package org.bigdata.zc.mongo.repository;

import org.bigdata.zc.mongo.CupWin;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * Created by Stephen on 2017/10/30.
 */
public interface CupRepository  extends MongoRepository<CupWin, Long> {
    CupWin findByCupName(String cupName);
    CupWin findByCupId(String cupId);
}
